package com.hn.gege.sys;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan
@Configurable
public class SysMain {
    public static void main(String[] args) {
        JSONObject jsonObject = JSON.parseObject("{\"chargeTime\":\"2020-10-20 10:41:58\",\"isHealDrug\":\"N\",\"itemName\":\"内镜检查\",\"itemNum\":\"1\",\"itemPrice\":0.01,\"itemSpec\":\"注意身体\",\"itemUintPrice\":0.01,\"sortSumFee\":0.01}");
        System.out.println(jsonObject.containsKey("aa"));
        System.out.println(jsonObject.getString("aa"));
    }
}
